home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1843 / 1843.xpi / content / firebug / browserOverlay.xul < prev    next >
Extensible Markup Language  |  2010-01-15  |  8KB  |  133 lines

  1. <?xml version="1.0"?>
  2. <?xul-overlay href="chrome://firebug/content/firebugOverlay.xul"?>
  3. <!-- Support for tracing. Only available in X version -->
  4. <!DOCTYPE window [
  5. <!ENTITY % firebugDTD SYSTEM "chrome://firebug/locale/firebug.dtd">
  6. %firebugDTD;
  7. <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
  8. %browserDTD;
  9. ]>
  10. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  11.     <script type="application/x-javascript" src="chrome://firebug/content/trace.js"/>
  12.     <script type="application/x-javascript" src="chrome://firebug/content/xpcom.js"/>
  13.     <script type="application/x-javascript" src="chrome://firebug/content/chrome.js"/>
  14.     <script type="application/x-javascript" src="chrome://firebug/content/lib.js"/>
  15.     <script type="application/x-javascript" src="chrome://firebug/content/domplate.js"/>
  16.     <script type="application/x-javascript" src="chrome://firebug/content/insideOutBox.js"/>
  17.     <script type="application/x-javascript" src="chrome://firebug/content/firebug.js"/>
  18.     <script type="application/x-javascript" src="chrome://firebug/content/sourceFile.js"/>
  19.     <script type="application/x-javascript" src="chrome://firebug/content/sourceBox.js"/>
  20.     <script type="application/x-javascript" src="chrome://firebug/content/tabWatcher.js"/>
  21.     <script type="application/x-javascript" src="chrome://firebug/content/activation.js"/>
  22.     <script type="application/x-javascript" src="chrome://firebug/content/sourceCache.js"/>
  23.     <script type="application/x-javascript" src="chrome://firebug/content/tabContext.js"/>
  24.     <script type="application/x-javascript" src="chrome://firebug/content/tabCache.js"/>
  25.     <script type="application/x-javascript" src="chrome://firebug/content/lib/htmlLib.js"/>
  26.     <script type="application/x-javascript" src="chrome://firebug/content/reps.js"/>
  27.     <script type="application/x-javascript" src="chrome://firebug/content/editor.js"/>
  28.     <script type="application/x-javascript" src="chrome://firebug/content/infotip.js"/>
  29.     <script type="application/x-javascript" src="chrome://firebug/content/commandLine.js"/>
  30.     <script type="application/x-javascript" src="chrome://firebug/content/search.js"/>
  31.     <script type="application/x-javascript" src="chrome://firebug/content/inspector.js"/>
  32.     <script type="application/x-javascript" src="chrome://firebug/content/plugin.js"/>
  33.     <script type="application/x-javascript" src="chrome://firebug/content/breakpoint.js"/>
  34.     <script type="application/x-javascript" src="chrome://firebug/content/console.js"/>
  35.     <script type="application/x-javascript" src="chrome://firebug/content/html.js"/>
  36.     <script type="application/x-javascript" src="chrome://firebug/content/css.js"/>
  37.     <script type="application/x-javascript" src="chrome://firebug/content/layout.js"/>
  38.     <script type="application/x-javascript" src="chrome://firebug/content/debuggerHalter.js"/>
  39.     <script type="application/x-javascript" src="chrome://firebug/content/debugger.js"/>
  40.     <script type="application/x-javascript" src="chrome://firebug/content/dom.js"/>
  41.     <script type="application/x-javascript" src="chrome://firebug/content/net.js"/>
  42.     <script type="application/x-javascript" src="chrome://firebug/content/profiler.js"/>
  43.     <script type="application/x-javascript" src="chrome://firebug/content/errors.js"/>
  44.     <script type="application/x-javascript" src="chrome://firebug/content/spy.js"/>
  45.     <script type="application/x-javascript" src="chrome://firebug/content/consoleInjector.js"/>
  46.     <script type="application/x-javascript" src="chrome://firebug/content/jsonViewer.js"/>
  47.     <script type="application/x-javascript" src="chrome://firebug/content/xmlViewer.js"/>
  48.     <script type="application/x-javascript" src="chrome://firebug/content/shortcuts.js"/>
  49.     <script type="application/x-javascript" src="chrome://firebug/content/a11y.js"/>
  50.     <script type="application/x-javascript" src="chrome://firebug/content/editorToContextMenu.js"/>
  51.     <!-- Support for tracing. Only available in X version -->
  52.     <!-- Firefox page context menu -->
  53.     <popup id="contentAreaContextMenu">
  54.         <!-- TODO Firebug.Editors. -->
  55.         <menu label="&firebug.OpenWith;" id="menu_firebugOpenWithEditor"
  56.               insertbefore="context-viewsource">
  57.             <menupopup id="menu_firebugOpenWith" onpopupshowing="return FirebugChrome.onEditorsShowing(this);">
  58.                 <menuitem label="&firebug.ConfigureEditors;..." command="cmd_openFirebugEditors"/>
  59.             </menupopup>
  60.         </menu>
  61.         <menuseparator/>
  62.         <menuitem id="menu_firebugInspect" label="&firebug.InspectElement;"
  63.                   class="menuitem-iconic" image="chrome://firebug/skin/Templarian_inspector.png"
  64.                   command="cmd_inspect" />
  65.     </popup>
  66.     <!-- Firefox View menu -->
  67.     <menupopup id="menu_viewPopup">
  68.         <menuitem id="menu_viewToggleFirebug" insertbefore="toggle_taskbar"
  69.                   label="&firebug.Firebug;" type="checkbox"
  70.                   key="key_toggleFirebug" command="cmd_toggleFirebug"/>
  71.     </menupopup>
  72.     <!-- SeaMonkey View menu -->
  73.     <menupopup id="menu_View_Popup">
  74.         <menuitem id="menu_viewToggleFirebug" insertafter="menuitem_fullScreen"
  75.                   label="&firebug.Firebug;" type="checkbox"
  76.                   key="key_toggleFirebug" command="cmd_toggleFirebug"/>
  77.     </menupopup>
  78.     <!-- Firefox Tools menu -->
  79.     <menupopup id="menu_ToolsPopup">
  80.         <menu id="menu_firebug" class="menuitem-iconic" image="chrome://firebug/skin/firebug16.png"
  81.               label="&firebug.Firebug;" insertbefore="javascriptConsole">
  82.               <!-- Content comes from fbFirebugMenuPopup -->
  83.         </menu>
  84.     </menupopup>
  85.     <!-- SeaMonkey Tools menu -->
  86.     <menupopup id="toolsPopup">
  87.         <menu id="menu_firebug" class="menuitem-iconic" image="chrome://firebug/skin/firebug16.png"
  88.               label="&firebug.Firebug;">
  89.               <!-- Content comes from fbFirebugMenuPopup -->
  90.         </menu>
  91.     </menupopup>
  92.     <!-- Buttons for Firefox Customize Toolbar dialog -->
  93.     <toolbarpalette id="BrowserToolbarPalette">
  94.         <toolbarbutton id="inspector-button" label="&firebug.Inspect;"
  95.                        class="toolbarbutton-1 chromeclass-toolbar-additional"
  96.                        observes="cmd_toggleInspecting" tooltiptext="&firebug.InspectElement;"/>
  97.         <toolbarbutton id="firebug-button" label="&firebug.Firebug;"
  98.                        class="toolbarbutton-1 chromeclass-toolbar-additional"
  99.                        observes="cmd_toggleDetachFirebug" tooltiptext="&firebug.DetachFirebug;"/>
  100.     </toolbarpalette>
  101.     <!-- Firebug panel -->
  102.     <vbox id="appcontent">
  103.         <splitter id="fbContentSplitter" collapsed="true"/>
  104.         <vbox id="fbContentBox" collapsed="true" persist="height">
  105.         </vbox>
  106.     </vbox>
  107.     <!-- Extend Firefox status bar -->
  108.     <statusbar id="status-bar">
  109.         <statusbarpanel id="fbStatusBar" context="fbStatusContextMenu" role="button"
  110.                         aria-labelledby="fbStatusPrefix fbStatusText" aria-describedby="fbStatusIcon"
  111.                         onmouseup="Firebug.onClickStatusIcon(FirebugContext, event);"
  112.                         tooltiptext="Firebug">
  113.             <image id="fbStatusIcon" />
  114.             <label id="fbStatusPrefix" collapsed="true" />
  115.             <label id="fbStatusText" onmouseup="Firebug.onClickStatusText(FirebugContext, event);" />
  116.         </statusbarpanel>
  117.         <!-- Context menu -->
  118.         <menupopup id="fbStatusContextMenu" onpopupshowing="FirebugChrome.onOptionsShowing(this)">
  119.             <menuitem id="menu_detachFirebug" label="&firebug.DetachFirebug;" command="cmd_toggleDetachFirebug"
  120.                       type="checkbox" key="key_detachFirebug"/>
  121.             <menuseparator/>
  122.             <menuitem label="&firebug.ClearConsole;" command="cmd_clearConsole" key="key_clearConsole"/>
  123.             <menuseparator/>
  124.             <menuitem id="menu_enablePanels" label="firebug.menu.Enable All Panels" command="cmd_enablePanels"/>
  125.             <menuitem id="menu_disablePanels" label="firebug.menu.Disable All Panels" command="cmd_disablePanels"/>
  126.             <menuseparator/>
  127.             <menuitem id="menu_AllOn" type="checkbox" label="On for all web pages" command="cmd_allOn"/>
  128.             <menuitem id="menu_clearActivationList" label="firebug.menu.Clear Activation List"
  129.                       command="cmd_clearActivationList"/>
  130.         </menupopup>
  131.     </statusbar>
  132. </overlay>
  133.